package com.chen.spikemall.exception;

public class NoInventoryException extends Exception {

    private String goodsNo;

    public String getGoodsNo() {
        return goodsNo;
    }

    public NoInventoryException(String goodsNo) {
        super(goodsNo + " 's inventory is Zero !");
        this.goodsNo = goodsNo;
    }
}
